home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr52 / bli201ng.zip / PATCHNG.BAT < prev    next >
DOS Batch File  |  1993-04-05  |  1KB  |  54 lines

  1. @ECHO OFF
  2. CLS
  3. ECHO This process will update your Blinker Norton Guide to Version 2.01
  4. ECHO  
  5. ECHO As there were two slightly different versions of the original
  6. ECHO 2.0 Norton Guide, two patches will be applied in some cases, but
  7. ECHO for most people, only one is necessary.
  8. ECHO  
  9. ECHO This batch file will attempt to apply both patches - in the
  10. ECHO event that only one is actually required, an error message will be
  11. ECHO displayed, which can safely be ignored.
  12. ECHO  
  13. IF NOT EXIST BLINKER.NG GOTO NOFILE
  14. PAUSE
  15. ECHO  
  16. ECHO Applying 1st patch...
  17. ECHO  
  18. bl201nga BLINKER.NG
  19. IF ERRORLEVEL 1 GOTO NONEED
  20. GOTO PATCH2
  21. :NONEED
  22. ECHO  
  23. ECHO First patch was not required - ignore previous error!
  24. ECHO  
  25. :PATCH2
  26. ECHO Applying 2nd patch...
  27. bl201ngb BLINKER.NG
  28. IF ERRORLEVEL 1 GOTO FAIL
  29. GOTO SUCCESS
  30. :FAIL
  31. ECHO Patch failed.
  32. ECHO  
  33. ECHO Please make sure this patch is applied to a Blinker 2.0 Norton Guide
  34. ECHO file - this patch will not work with any other version.
  35. GOTO DONE
  36. :SUCCESS
  37. ECHO Patch successful.
  38. ECHO  
  39. ECHO Please delete the following files that are no longer required:
  40. ECHO  
  41. ECHO BLINKER.BAK
  42. ECHO BL201NGA.EXE
  43. ECHO BL201NGB.EXE
  44. ECHO PATCHNG.BAT
  45. ECHO  
  46. GOTO DONE
  47. :NOFILE
  48. ECHO Error : BLINKER.NG not found.
  49. ECHO Please copy BLINKER.NG to current directory and try again.
  50. :DONE
  51. IF NOT EXIST FUNCKY2.TMP GOTO END
  52. DEL FUNCKY2.TMP > NUL
  53. :END
  54.